#ifndef _ASYN_EVENTBASE_H_
#define _ASYN_EVENTBASE_H_


#include <io/iasynio.h>

interface IAsynFrame : public IBase
{

	std_method(AddTimer)(ITimerEvents *pEvents,
							ULONG lTimerId,
							ULONG lMilliSecond,
							BOOL bCycled)							= 0;
	std_method(DelTimer)(ITimerEvents *pEvents,ULONG lTimerId)		= 0;
	std_method(ClearTimer)(ITimerEvents *pEvents)					= 0;
	std_method(CreateAsynIoOperation)(	IIoOperation **ppOperation, 
										IIoOperationEvents* pEvent)	= 0;
	std_method(PostAsynIoOperation)(IIoOperation *pOperation)		= 0;



};
_DEFINE_IID(IAsynFrame, "{1351D756-958E-4DE5-86C6-9280AC49E672}");
// {F170A724-AACA-4603-BB1C-0A8EAF1C3322}
_DEFINE_GUID(CLSID_IAsynFrame, 
    0xf170a724, 0xaaca, 0x4603, 0xbb, 0x1c, 0xa, 0x8e, 0xaf, 0x1c, 0x33, 0x22);

#endif